package StudyCode.summary.mydatetime;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class SpecialLocalFormatterDate {
	public static void main(String[] argv) {
		Locale locale = Locale.FRENCH;

		DateFormat formatter = new SimpleDateFormat("HH:mm:ss zzzz", locale);
		String s = formatter.format(new Date());
		System.out.println(s);
		s = DateFormat.getTimeInstance(DateFormat.MEDIUM, locale).format(new Date());
		System.out.println(s);
	}
}
